<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="<?php echo baseURL() ?>skins/<?php echo $config['skin'] ?>/stylesheet.css" />
    <title><?php echo $config['name'].$doctitle ?></title>
    <?php do_hooks('html_head') ?>
  </head>
  
  <body>
  	<table width="100%">
  	  <tr>
  	    <td id="header" colspan="2"><a href="<?php echo $config['url'] ?>"><?php echo $config['name'] ?></a><?php echo $header ?></td>
  	  </tr>
  	  <tr>
  	    <td style="vertical-align: top">
  	      <?php //include 'nav.php' ?>
  	      <div id="main_content">
    	     <?php include($main_content) ?>
  	      </div>
  	    </td>
  	    <td id="sidebar">
  	      <div>
  	        <?php include 'sidebar.php' ?>
  	        <?php do_hooks('sidebar') ?>
  	      </div>
  	    </td>
  	  </tr>
  	  <tr>
  	   <td id="footer" colspan="2">
  	     proudly powered by <strong><a href="http://purl.oclc.org/NET/thinking-chair/aboutpetewiki" title="Version <?php echo $pete_wiki['version'] ?>">pete_wiki</a></strong> (hey yeah)
  	   </td>
  	  </tr>
  	</table>
  </body>
</html>
